package com.project2.service;


import com.project2.bean.CommonData;
import com.project2.bean.PageBo;
import com.project2.bean.po.MarketCoupon;
import com.project2.bean.po.MarketCouponUser;
import com.project2.bean.vo.AdminPageInfo;

public interface AdminCouponService {
    CommonData getAllCouponByInfo(PageBo pageBo, String name, Short type, Short status);

    CommonData<MarketCouponUser> getCouponUsers(Short couponStatus, Integer userId, Integer couponId);

    MarketCoupon getSpecifiedCoupon(Integer id);

    MarketCoupon createCoupon(MarketCoupon coupon);

    MarketCoupon updateCouponInfo(MarketCoupon updateInfo);

    void deleteCoupon(Integer id);
}
